home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Skunkware 5
/
Skunkware 5.iso
/
src
/
X11
/
xarchie-2.0.9
/
Makefile-tbird
< prev
next >
Wrap
Makefile
|
1995-06-18
|
22KB
|
697 lines
CTRBDESTDIR=/usr/local/contrib
# Makefile generated by imake - do not edit!
# $XConsortium: imake.c,v 1.72 92/09/14 11:44:22 rws Exp $
#
# The cpp used on this machine replaces all newlines and multiple tabs and
# spaces in a macro expansion with a single space. Imake tries to compensate
# for this, but is not always successful.
#
# -------------------------------------------------------------------------
# Makefile generated from "Imake.tmpl" and <Imakefile>
# $XConsortium: Imake.tmpl,v 1.158 92/09/03 19:54:25 rws Exp $
#
# Platform-specific parameters may be set in the appropriate <vendor>.cf
# configuration files. Site-specific parameters should be set in the file
# site.def. Full rebuilds are recommended if any parameters are changed.
#
# If your C preprocessor does not define any unique symbols, you will need
# to set BOOTSTRAPCFLAGS when rebuilding imake (usually when doing
# "make World" the first time).
#
# -------------------------------------------------------------------------
# site-specific configuration parameters that need to come before
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
# -------------------------------------------------------------------------
# platform-specific configuration parameters - edit sco.cf to change
#
#
# Copyright (C) 1983-1991 The Santa Cruz Operation, Inc.
#
# The information in this file is provided for the exclusive use of the
# licensees of The Santa Cruz Operation, Inc. Such users have the right
# to use, modify, and incorporate this code into other products for
# purposes authorized by the license agreement provided they include this
# notice and the associated copyright notice with any such product. The
# information in this file is provided "AS IS" without warranty.
#
#
# platform: SCO sco.cf
PATH = /bin:/usr/bin:/usr/bin/X11:/usr/local/contrib/bin
# -------------------------------------------------------------------------
# site-specific configuration parameters that go after
# the platform-specific parameters - edit site.def to change
# site: $XConsortium: site.def,v 1.2 91/07/30 20:26:44 rws Exp $
SHELL = /bin/sh
TOP = .
CURRENT_DIR = .
AR = ar clq
ASM = as
BOOTSTRAPCFLAGS = -Dsco
CC = cc
AS = as
COMPRESS = compress
CPP = /lib/cpp $(STD_CPP_DEFINES)
PREPROCESSCMD = /lib/cpp -P $(ALLDEFINES) $(STD_CPP_DEFINES)
INSTALL = /usr/bin/X11/scoinst
LD = ld
LEX = lex
YACC = yacc
LINT = lint
LINTLIBFLAG = -o
LINTOPTS = -ax
LN = ln
MAKE = make
MV = mv
CP = cp
RM = rm -f
ASM_INCLUDES =
TROFF = psroff
MSMACROS = -ms
TBL = tbl
EQN = eqn
STD_INCLUDES =
STD_CPP_DEFINES = -Dsco -DSYSV
STD_DEFINES = -Dsco -DSYSV
EXTRA_LOAD_FLAGS =
EXTRA_LDOPTIONS =
EXTRA_LIBRARIES = -lsocket -lmalloc -lPW
TAGS = ctags
MFLAGS = -$(MAKEFLAGS)
PROTO_DEFINES =
INSTPGMFLAGS =
INSTBINFLAGS = -m 0755
INSTUIDFLAGS = -m 4755
INSTLIBFLAGS = -m 0644
INSTINCFLAGS = -m 0444
INSTMANFLAGS = -m 0444
INSTDATFLAGS = -m 0444
INSTKMEMFLAGS = -m 4755
ASMDEBUGFLAGS =
ASM_DEFINES =
CDEBUGFLAGS =
CCOPTIONS =
ALLINCLUDES = $(INCLUDES) $(EXTRA_INCLUDES) $(TOP_INCLUDES) $(STD_INCLUDES)
ALLDEFINES = $(ALLINCLUDES) $(STD_DEFINES) $(EXTRA_DEFINES) $(PROTO_DEFINES) $(DEFINES)
ASMFLAGS = $(ASMDEBUGFLAGS) $(ASM_DEFINES) $(ASM_INCLUDES)
CFLAGS = $(CDEBUGFLAGS) $(CCOPTIONS) $(ALLDEFINES)
LINTFLAGS = $(LINTOPTS) -DLINT $(ALLDEFINES)
LDLIBS = $(SYS_LIBRARIES) $(EXTRA_LIBRARIES)
LDOPTIONS = $(CDEBUGFLAGS) $(CCOPTIONS) $(EXTRA_LDOPTIONS) $(LOCAL_LDFLAGS)
LDCOMBINEFLAGS = -X -r
DEPENDFLAGS =
MACROFILE = sco.cf
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut
IMAKE_DEFINES =
IRULESRC = $(CONFIGDIR)
IMAKE_CMD = $(IMAKE) -DUseInstalled -I$(IRULESRC) $(IMAKE_DEFINES)
ICONFIGFILES = $(IRULESRC)/Imake.tmpl $(IRULESRC)/Imake.rules \
$(IRULESRC)/Project.tmpl $(IRULESRC)/site.def \
$(IRULESRC)/$(MACROFILE) \
$(EXTRA_ICONFIGFILES)
# -------------------------------------------------------------------------
# X Window System Build Parameters
# $XConsortium: Project.tmpl,v 1.152 92/08/10 17:47:45 eswu Exp $
# -------------------------------------------------------------------------
# X Window System make variables; this need to be coordinated with rules
PATHSEP = /
USRLIBDIR = /usr/lib
SHLIBDIR = /usr/lib
BINDIR = /usr/bin/X11
INCROOT = /usr/include
BUILDINCROOT = $(TOP)
BUILDINCDIR = $(BUILDINCROOT)/X11
BUILDINCTOP = ..
INCDIR = $(INCROOT)/X11
ADMDIR = /usr/adm
LIBDIR = $(USRLIBDIR)/X11
CONFIGDIR = $(LIBDIR)/config
LINTLIBDIR = $(USRLIBDIR)/lint
FONTDIR = $(LIBDIR)/fonts
XINITDIR = $(LIBDIR)/xinit
XDMDIR = $(LIBDIR)/xdm
TWMDIR = $(LIBDIR)/twm
MANPATH = /usr/man
MANSOURCEPATH = $(MANPATH)/man
MANSUFFIX = n
LIBMANSUFFIX = 3
MANDIR = $(MANSOURCEPATH)$(MANSUFFIX)
LIBMANDIR = $(MANSOURCEPATH)$(LIBMANSUFFIX)
NLSDIR = $(LIBDIR)/nls
PEXAPIDIR = $(LIBDIR)/PEX
XAPPLOADDIR = $(LIBDIR)/app-defaults
FONTCFLAGS = -t
INSTAPPFLAGS = $(INSTDATFLAGS)
IMAKE = imake
DEPEND = makedepend
RGB = rgb
FONTC = bdftopcf
MKFONTDIR = mkfontdir
MKDIRHIER = /bin/sh $(BINDIR)/mkdirhier
CONFIGSRC = $(TOP)/config
DOCUTILSRC = $(TOP)/doc/util
CLIENTSRC = $(TOP)/clients
DEMOSRC = $(TOP)/demos
LIBSRC = $(TOP)/lib
FONTSRC = $(TOP)/fonts
INCLUDESRC = $(TOP)/X11
SERVERSRC = $(TOP)/server
UTILSRC = $(TOP)/util
SCRIPTSRC = $(UTILSRC)/scripts
EXAMPLESRC = $(TOP)/examples
CONTRIBSRC = $(TOP)/../contrib
DOCSRC = $(TOP)/doc
RGBSRC = $(TOP)/rgb
DEPENDSRC = $(UTILSRC)/makedepend
IMAKESRC = $(CONFIGSRC)
XAUTHSRC = $(LIBSRC)/Xau
XLIBSRC = $(LIBSRC)/X
XMUSRC = $(LIBSRC)/Xmu
TOOLKITSRC = $(LIBSRC)/Xt
AWIDGETSRC = $(LIBSRC)/Xaw
OLDXLIBSRC = $(LIBSRC)/oldX
XDMCPLIBSRC = $(LIBSRC)/Xdmcp
BDFTOPCFSRC = $(FONTSRC)/clients/bdftopcf
MKFONTDIRSRC = $(FONTSRC)/clients/mkfontdir
FSLIBSRC = $(FONTSRC)/lib/fs
FONTSERVERSRC = $(FONTSRC)/server
EXTENSIONSRC = $(TOP)/extensions
XILIBSRC = $(EXTENSIONSRC)/lib/xinput
XTESTLIBSRC = $(EXTENSIONSRC)/lib/xtest
PEXLIBSRC = $(EXTENSIONSRC)/lib/PEXlib
PHIGSLIBSRC = $(EXTENSIONSRC)/lib/PEX
DEPEXTENSIONLIB = $(USRLIBDIR)/libXext.a
EXTENSIONLIB = -lXext
DEPXLIB = $(DEPEXTENSIONLIB) $(USRLIBDIR)/libX11.a
XLIBONLY = -lX11
XLIB = $(EXTENSIONLIB) $(XLIBONLY)
DEPXAUTHLIB = $(USRLIBDIR)/libXau.a
XAUTHLIB = -lXau
DEPXDMCPLIB = $(USRLIBDIR)/libXdmcp.a
XDMCPLIB = -lXdmcp
DEPXMULIB = $(USRLIBDIR)/libXmu.a
XMULIB = -lXmu
DEPOLDXLIB = $(USRLIBDIR)/liboldX.a
OLDXLIB = -loldX
DEPXTOOLLIB = $(USRLIBDIR)/libXt.a
XTOOLLIB = -lXt
DEPXAWLIB = $(USRLIBDIR)/libXaw.a
XAWLIB = -lXaw
DEPXILIB = $(USRLIBDIR)/libXi.a
XILIB = -lXi
DEPXTESTLIB = $(USRLIBDIR)/libXtst.a
XTESTLIB = -lXtst
DEPPEXLIB = $(USRLIBDIR)/libPEX5.a
PEXLIB = -lPEX5
DEPPHIGSLIB = $(USRLIBDIR)/libphigs.a
PHIGSLIB = -lphigs
DEPXBSDLIB = $(USRLIBDIR)/libXbsd.a
XBSDLIB = -lXbsd
LINTEXTENSIONLIB = $(LINTLIBDIR)/llib-lXext.ln
LINTXLIB = $(LINTLIBDIR)/llib-lX11.ln
LINTXMU = $(LINTLIBDIR)/llib-lXmu.ln
LINTXTOOL = $(LINTLIBDIR)/llib-lXt.ln
LINTXAW = $(LINTLIBDIR)/llib-lXaw.ln
LINTXI = $(LINTLIBDIR)/llib-lXi.ln
LINTPEX = $(LINTLIBDIR)/llib-lPEX5.ln
LINTPHIGS = $(LINTLIBDIR)/llib-lphigs.ln
#
# (c) Copyright 1989, 1990, 1991, 1992 OPEN SOFTWARE FOUNDATION, INC.
# ALL RIGHTS RESERVED
#
#
# Motif Release 1.2
#
# $RCSfile: Motif.tmpl,v $ $Revision: 1.5.2.3 $ $Date: 1992/04/10 21:02:42 $
XTOP = $(TOP)
MTOP = $(TOP)
XBUILDINCROOT = $(XTOP)
XBUILDINCDIR = $(XBUILDINCROOT)/X11
CLIENTSRC = $(XTOP)/clients
DEMOSRC = $(XTOP)/demos
LIBSRC = $(XTOP)/lib
FONTSRC = $(XTOP)/fonts
INCLUDESRC = $(XTOP)/X11
SERVERSRC = $(XTOP)/server
UTILSRC = $(XTOP)/util
EXAMPLESRC = $(XTOP)/examples
DOCSRC = $(XTOP)/doc
RGBSRC = $(XTOP)/rgb
EXTENSIONSRC = $(XTOP)/extensions
USRINCDIR = /usr/include
UIDDIR = $(LIBDIR)/uid
TESTSRC = $(MTOP)/tests
GENERALSRCLIB = $(TESTSRC)/General/lib
GENERALSRCBIN = $(TESTSRC)/General/bin
MANUALSRCLIB = $(TESTSRC)/Manual/lib
MANUALSRCBIN = $(TESTSRC)/Manual/bin
AUTOSRCLIB = $(TESTSRC)/Auto/lib
AUTOSRCBIN = $(TESTSRC)/Auto/bin
COMMONPP = $(GENERALSRCBIN)/Commonpp
GENRUN = $(GENERALSRCBIN)/Genrun
TESTCOMSRC = $(AUTOSRCLIB)/Common
MTOOLKITSRC = $(TOOLKITSRC)
MINCLUDESRC = $(MTOP)/X11
MLIBSRC = $(MTOP)/lib
MCLIENTSRC = $(MTOP)/clients
MDEMOSRC = $(MTOP)/demos
MWIDGETSRC = $(MLIBSRC)/Xm
MRESOURCESRC = $(MLIBSRC)/Mrm
UILSRC = $(MCLIENTSRC)/uil
UIL = uil
DEPUIL = $(BINDIR)/uil
DEPXMLIB = $(USRLIBDIR)/libXm.a
XMLIB = -lXm
DEPXTXMLIB =
XTXMLIB = -lXtXm_s
XMEXTRA_LIBS = $(XMULIB)
DEPXMEXTRA_LIBS = $(DEPXMULIB)
DEPMRESOURCELIB = $(USRLIBDIR)/libMrm.a
MRESOURCELIB = -lMrm
DEPUILLIB = $(USRLIBDIR)/libUil.a
UILLIB = -lUil
TESTCOMLIB = $(TESTCOMSRC)/libCommon.a
AUTOSCRIPTSRC = $(AUTOSRCLIB)/Script
AUTOSCRIPTLIB = $(AUTOSCRIPTSRC)/libScript.a
AUTOSYNTHSRC = $(AUTOSRCLIB)/Synth
AUTOSYNTHLIB = $(AUTOSYNTHSRC)/libSynth.a
AUTOCREATESRC = $(AUTOSRCLIB)/Create
AUTOCREATELIB = $(AUTOCREATESRC)/libCreate.a
AUTOVISUALSRC = $(AUTOSRCLIB)/Visual
AUTOVISUALLIB = $(AUTOVISUALSRC)/libVisual.a
AUTOEXTRALIBS = -ll -ly -lm
LINTMRESOURCE = $(MRESOURCESRC)/libMrm.a
LINTXMWIDGETLIB = $(MWIDGETSRC)/llib-l/Xm.ln
LINTXMTOOL = $(MTOOLKITSRC)/llib-lXt.ln
LINTUILLIB = $(UILSRC)/llib-lUil.ln
YACCFLAGS =
RM_CMD = $(RM) *.CKP *.ln *.BAK *.bak *.o core errs ,* *~ *.a .emacs_* tags TAGS make.log MakeOut *.Dat *.Scr
STD_DEFINES = -Dsco -DSYSV
# -------------------------------------------------------------------------
# Imake rules for building libraries, programs, scripts, and data files
# rules: $XConsortium: Imake.rules,v 1.129 92/05/29 17:01:19 rws Exp $
# -------------------------------------------------------------------------
# start of Imakefile
#
# Imakefile for xarchie : X11 Browser interface to Archie
#
# George Ferguson, ferguson@cs.rochester.edu, 12 Sep 1991.
# Version 2.0: 23 Apr 1993.
#
# Unless otherwise indicated, you have to delete both `' and the
# leading `#' sign to uncomment something. To comment something out,
# you need to add both the `' (for cpp via imake) and `#' (for
# make). Just for completeness, if you're reading this in a Makefile,
# there will be some empty `' things above -- see the Imakefile.
#
# Where do you want this stuff? Uncomment and adjust these to change the
# destinations of "make install" and "make install.man" if the defaults
# are not satisfactory.
XARCHIEDIR = $(CTRBDESTDIR)/lib/xarchie-2.0.9
#BINDIR = bin
#MANDIR = man/man1
# Use this for R5
#MANSUFFIX = 1
# Use this for R4 (leave one # sign since these are cpp commands for imake)
##undef n
##define n 1
# Where is the app-defaults to C converter?
# Only needed if you change the app-defaults file Xarchie.ad and want the
# changes compiled into the program. If you don't have ad2c you should
# remove the extra clean target for Xarchie.ad.h below. If you lose
# Xarchie.ad.h and can't remake it, create it to be an empty file. Of
# course then you'll have to be able to find the resource file at run time.
# If your ad2c came from this xarchie distribution, then use the following
# target, otherwise change it to reflect where you put ad2c.
AD2C = Ad2c/ad2c.script
# How excited are you about debugging? This can be -g, -O, or nothing.
#CDEBUGFLAGS = -g
# If the help strings make your executable too large, disable the
# online help by commenting out the following lines.
HELP = -DHELP
HELPC = help.c
HELPO = help.o
# To enable Prospero tracing (controlled by the -debug option),
# uncomment this.
#PDEBUG = -DDEBUG
# Does your system have re_comp() and re_exec(), or regcmp() and regex()
# [in the case of A/UX]? If not, adjust the following definitions.
REGEXC = regex.c
REGEXO = regex.o
# If you don't have <sys/param.h> to define MAXPATHLEN, then adjust
# the following definition.
# If you don't have strcasecmp() and strncasecmp(), adjust the
# following definitions:
# If your system does not use DNS hostname lookup by default, you
# need to uncomment the following definition. This will be apparent
# if the program builds but gives the error: "Can't resolve hostname".
# You can test this by building and running resolv.c.
# You can enable the use of a FileChooser widget for dialogs that
# require a filename (Save, Load, Write, etc). If your system has
# trouble with the subclassing of widgets for the FileChooser
# class or with the device-independent directory routines in FWF/Dir,
# you should remove the #define of UseFileChooser.
# NOTE: If you are reading this in the Makefile and nothing follows,
# then use of the FileChooser widget was disabled in the Imakefile.
FCHOOSER_DEF = -DFILECHOOSER
FCHOOSER_DIR = FWF/FileChooser
FCHOOSER_INC = -I$(FCHOOSER_DIR)
FCHOOSER_LIB = -L$(FCHOOSER_DIR) -lFChooser
FCHOOSER_DEP = $(FCHOOSER_DIR)/libFChooser.a
DIR_DIR = FWF/Dir
DIR_INC = -I$(DIR_DIR)
DIR_LIB = -L$(DIR_DIR) -lDir
DIR_DEP = $(DIR_DIR)/libDir.a
FCHOOSER_DIRS = $(FCHOOSER_DIR) $(DIR_DIR)
FCHOOSER_INCS = $(FCHOOSER_INC) $(DIR_INC)
FCHOOSER_LIBS = $(FCHOOSER_LIB) $(DIR_LIB)
FCHOOSER_DEPS = $(FCHOOSER_DEP) $(DIR_DEP)
# You want to use the MultiList widget if possible. If you have problems
# with the subclassing in your version of X, you can use the regular
# Athena List widget by removing the #define of UseMultiList. Of course
# then you will not be able to make multiple selections.
# NOTE: If you are reading this in the Makefile and nothing follows,
# then use of the MultiList widget was disabled in the Imakefile.
MULTILIST_DEF = -DMULTILIST
MULTILIST_DIR = FWF/MultiList
MULTILIST_INC = -I$(MULTILIST_DIR)
MULTILIST_LIB = -L$(MULTILIST_DIR) -lMultiList
MULTILIST_DEP = $(MULTILIST_DIR)/libMultiList.a
#########################################################################
# Nothing to change below here...
PSRCS = atalloc.c dirsend.c get_pauth.c get_vdir.c perrmesg.c ptalloc.c \
$(REGEXC) stcopy.c support.c vl_comp.c vlalloc.c
CSRCS = query.c browser.c db.c selection.c status.c saveload.c \
inet_ntoa.c hostname.c username.c \
weight.c ftp.c syserr.c $(STRCASECMPC)
XSRCS = xarchie.c display-x.c actions.c ftp-actions.c types.c \
settings.c file-panel.c view-file.c about.c $(HELPC) \
menu.c m-file.c m-query.c m-settings.c m-file-panel.c \
fchooser.c popups.c alert.c confirm.c syntax.c xutil.c tilde.c
POBJS = atalloc.o dirsend.o get_pauth.o get_vdir.o perrmesg.o ptalloc.o \
$(REGEXO) stcopy.o support.o vl_comp.o vlalloc.o
COBJS = query.o browser.o db.o selection.o status.o saveload.o \
inet_ntoa.o hostname.o username.o \
weight.o ftp.o syserr.o $(STRCASECMPO)
XOBJS = xarchie.o display-x.o actions.o ftp-actions.o types.o \
settings.o file-panel.o view-file.o about.o $(HELPO) \
menu.o m-file.o m-query.o m-settings.o m-file-panel.o \
fchooser.o popups.o alert.o confirm.o syntax.o xutil.o tilde.o
SRCS = $(PSRCS) $(CSRCS) $(XSRCS)
OBJS = $(POBJS) $(COBJS) $(XOBJS)
DEFINES = -DARCHIE -DXARCHIE -DX11 $(1024) $(STRCASECMP) \
$(HELP) $(FCHOOSER_DEF) $(MULTILIST_DEF)
INCLUDES = -I. $(FCHOOSER_INCS) $(MULTILIST_INC)
DEPLIBS = $(FCHOOSER_DEPS) $(MULTILIST_DEP) $(DEPXAWLIB) $(DEPXMULIB) $(DEPXTOOLLIB) $(DEPXLIB)
LOCAL_LIBRARIES=$(FCHOOSER_LIBS) $(MULTILIST_LIB) $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB) $(RESOLV_LIB)
SUBDIRS = $(FCHOOSER_DIRS) $(MULTILIST_DIR)
PROGRAM = xarchie
all:: xarchie
xarchie: $(OBJS) $(DEPLIBS)
if [ -f $@ ]; then $(RM) $@~; $(MV) $@ $@~; fi
$(CC) -o $@ $(OBJS) $(LDOPTIONS) $(LOCAL_LIBRARIES) $(LDLIBS) $(EXTRA_LOAD_FLAGS)
install:: xarchie
# @if [ -d $(DESTDIR)$(BINDIR) ]; then set +x; \
# else (set -x; $(MKDIRHIER) $(DESTDIR)$(BINDIR)); fi
# $(INSTALL) -c $(INSTPGMFLAGS) xarchie $(DESTDIR)$(BINDIR)
bsdinstall -s xarchie $(CTRBDESTDIR)/bin
inst-man:: xarchie.man
# @if [ -d $(DESTDIR)$(MANDIR) ]; then set +x; \
# else (set -x; $(MKDIRHIER) $(DESTDIR)$(MANDIR)); fi
# $(INSTALL) -c $(INSTMANFLAGS) xarchie.man $(DESTDIR)$(MANDIR)/xarchie.$(MANSUFFIX)
bsdinstall -c -m 444 xarchie.man $(CTRBDESTDIR)/man/u_man/man1/xarchie.1
depend::
$(DEPEND) $(DEPENDFLAGS) -s "# DO NOT DELETE" -- $(ALLDEFINES) $(DEPEND_DEFINES) -- $(SRCS)
lint:
$(LINT) $(LINTFLAGS) $(SRCS) $(LINTLIBS)
lint1:
$(LINT) $(LINTFLAGS) $(FILE) $(LINTLIBS)
clean::
$(RM) $(PROGRAM)
clobber::
$(RM) *.o xarchie
install:: Xarchie.ad
# @if [ -d $(DESTDIR)$(XAPPLOADDIR) ]; then set +x; \
# else (set -x; $(MKDIRHIER) $(DESTDIR)$(XAPPLOADDIR)); fi
# $(INSTALL) -c $(INSTAPPFLAGS) Xarchie.ad $(DESTDIR)$(XAPPLOADDIR)/Xarchie
bsdinstall -c -m 444 Xarchie.ad $(XARCHIEDIR)/Xarchie.ad
$(POBJS):
$(RM) $@
$(CC) -c $(CFLAGS) $(PDEBUG) $*.c
$(MULTILIST_DEP):
(cd $(MULTILIST_DIR); $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)')
$(FCHOOSER_DEP):
(cd $(FCHOOSER_DIR); $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)')
$(DIR_DEP):
(cd $(DIR_DIR); $(MAKE) 'CDEBUGFLAGS=$(CDEBUGFLAGS)' 'CC=$(CC)')
#
# Make C code for fallback resources from application resource file
#
Xarchie.ad.h: Xarchie.ad
$(AD2C) Xarchie.ad >Xarchie.ad.h
#
# Make Help text from manpage
#
help-text1.h: xarchie.man
./help-text1.sh >help-text1.h
help-text2.h: help-text1.h
./help-text2.sh <help-text1.h >help-text2.h
#
# What to do when there's nothing to do...
#
World:
make Makefile
make Makefiles
make depend
make clean
make
#
# For debugging with Saber
#
saberload:
# setopt ansi
# source xsaber.suppress
# load -DNeedFunctionPrototypes $(ALLDEFINES) $(HELP) $(SRCS)
# cd FWF/MultiList
# make saber
# cd ../Dir
# make saber
# cd ../FileChooser
# make saber
# cd ../..
# load $(XAWLIB) $(XMULIB) $(XTOOLLIB) $(XLIB)
# -------------------------------------------------------------------------
# common rules for all Makefiles - do not edit
emptyrule::
clean::
$(RM_CMD) "#"*
Makefile::
-@if [ -f Makefile ]; then set -x; \
$(RM) Makefile.bak; $(MV) Makefile Makefile.bak; \
else exit 0; fi
$(IMAKE_CMD) -DTOPDIR=$(TOP) -DCURDIR=$(CURRENT_DIR)
tags::
$(TAGS) -w *.[ch]
$(TAGS) -xw *.[ch] > TAGS
# -------------------------------------------------------------------------
# rules for building in SUBDIRS - do not edit
install::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install); \
done
install.man::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "installing man pages" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) DESTDIR='$(DESTDIR)' install.man); \
done
clean::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "cleaning" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) RM_CMD='$(RM_CMD)' clean); \
done
tags::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo "tagging" "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) TAGS='$(TAGS)' tags); \
done
Makefiles::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
case '${MFLAGS}' in *n*) executeit="no";; esac; \
for i in $(SUBDIRS) ;\
do \
echo "making Makefiles in $(CURRENT_DIR)/$$i..."; \
case "$$i" in \
./?*/?*/?*/?*) newtop=../../../../;; \
./?*/?*/?*) newtop=../../../;; \
./?*/?*) newtop=../../;; \
./?*) newtop=../;; \
*/?*/?*/?*) newtop=../../../../;; \
*/?*/?*) newtop=../../../;; \
*/?*) newtop=../../;; \
*) newtop=../;; \
esac; \
case "$(TOP)" in \
/?*) imaketop= ;; \
*) imaketop=$$newtop ;; \
esac; \
cd $$i; \
$(RM) Makefile.bak; \
if [ -f Makefile ]; then \
echo " $(MV) Makefile Makefile.bak"; \
if [ "$$executeit" != "no" ]; then \
$(MV) Makefile Makefile.bak; \
fi; \
fi; \
if [ "$$executeit" != "no" ]; then \
$(IMAKE_CMD) -DTOPDIR=$$imaketop$(TOP) -DCURDIR=$(CURRENT_DIR)/$$i; \
fi; \
$(MAKE) $(MFLAGS) Makefiles; \
cd $$newtop; \
done
includes::
@case '${MFLAGS}' in *[ik]*) set +e;; esac; \
for i in $(SUBDIRS) ;\
do \
(cd $$i ; echo including "in $(CURRENT_DIR)/$$i..."; \
$(MAKE) $(MFLAGS) includes); \
done
# -------------------------------------------------------------------------
# dependencies generated by makedepend
# DO NOT DELETE